package com.kaigejava.rulesengine.bussiness.mapper;


import com.kaigejava.rulesengine.engine.dto.CreRuleDto;

import java.util.List;
import java.util.Map;


/**
 * @author kaigejava
 */
public interface CreEngineMapper {
    /**
     * 查询规则列表
     * @param map
     * @return
     */
    List<CreRuleDto> findCreRuleList(Map<String, Object> map);

    /**
     * 根据actionId和pathId查找任务
     * @param map
     * @return
     */
    List<CreRuleDto> getTaskRuleByPathAndActionId(Map<String,Object> map);
}
